import * as fabric from 'fabric'

const canvasEl = document.getElementById("myCanvas3")


const canvas = new fabric.Canvas(canvasEl);


var circle1 = new fabric.Circle({
  radius: 50,
  fill: 'red',
  left: 0
});
var circle2 = new fabric.Circle({
  radius: 50,
  fill: 'green',
  left: 100
});
var circle3 = new fabric.Circle({
  radius: 50,
  fill: 'blue',
  left: 200
});

var group = new fabric.Group([ circle1, circle2, circle3 ], {
  left: 20,
  top: 100
});

canvas.add(group);
